<script setup lang="ts">
import axios from "axios";

async function fn() {
    console.log(import.meta.env);
    const { data } = await axios("/api/get");
    console.log(data);
}

</script>

<template>
    <el-button @click="fn">发起请求</el-button>
    mock 本地服务器配置，在根目录下mock文件夹中
</template>

<style lang="scss">

</style>
